home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c,comp.lang.c++
- Path: cnn.nas.nasa.gov!eos!jim-ra
- From: jim-ra@eos.arc.nasa.gov (Jim Stevenson's reader)
- Subject: Re: Why is C faster than FORTRAN?
- Message-ID: <1996Mar20.000516.21472@eos.arc.nasa.gov>
- Organization: NASA Ames Research Center
- References: <4hv2ho$d8t@news.interpath.net> <4i2c5e$t70@kiwi.futuris.net> <4i4poj$j7e@thorn.cc.usm.edu> <danpop.826738267@rscernix>
- Distribution: usa
- Date: Wed, 20 Mar 1996 00:05:16 GMT
-
- danpop@mail.cern.ch (Dan Pop) writes:
-
-
- >>Is C normally faster than FORTRAN?
-
- >No. Fortran is normally faster than C. Fortran forbids data aliasing
- >(behind compiler's back) and this allows more aggressive optimization,
- >especially on code involving arrays.
-
- So your saying that data aliasing is THE reason that FORTRAN's
- faster than C, huh? I figured the MATURITY of Fortran compilers would
- play a bigger role.
-
-
-